<script setup lang='ts'>
  import { reactive } from 'vue';
  const action = reactive({
    dialogFormVisible:false,
    game_id:0,
    list:[] as Array<any>
  })
  const openDialog = async(query:any = {})=> {
    const { white_reward=[] } = query
    action.list = white_reward
    action.dialogFormVisible = true
  }
  defineExpose({
    openDialog
  })
</script>

<template>
  <div>
    <el-dialog
    top="5vh"
    class="xm-dialog input-width"
    v-model="action.dialogFormVisible"
    width="70%"
    title="产出信息">
      <el-table
        class="xm-main xm-TableCenter"
        :data="action.list"
        border>
        <el-table-column width="120" prop="num" label="数量" />
        <el-table-column min-width="120" prop="pollTwoId" label="二级礼物池id" />
        <el-table-column min-width="140" prop="man_equip_id" label="男装备id" />
        <el-table-column min-width="140" prop="man_equip_name" label="男装备名称" />
        <el-table-column min-width="140" prop="girl_equip_id" label="女装备id" />
        <el-table-column min-width="140" prop="girl_equip_name" label="女装备名称" />
      </el-table>
    </el-dialog>
  </div>
</template>
